<div class="container">
    <div class="line-big">
        <div class="xb9 xm8">
            <div class="panel dux-box dux-cell thread-info">
                <div class="panel-head clearfix">
                    <ul class="bread float-left">
                        <!--loop{$crumb as $vo}-->
                        <li><a href="{$vo.url}">{$vo.name}</a></li>
                        <!--{/loop}-->
                    </ul>
                </div>
                <form method="post" class="form-x" action="{url()}">
                    <div class="panel-body border-top">

                        <div class="form-group">
                            <div class="label">标题</div>
                            <div class="field">
                                <input type="text" class="input" id="title" name="title" size="60" disabled value="{$info.title}">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">置顶类型</div>
                            <div class="field">
                                <select class="input" name="type_top">
                                    <option <!--if{!$info[ 'type_top']}-->selected
                                        <!--{/if}-->value="0">取消置顶</option>
                                    <option <!--if{$info[ 'type_top']==1 }-->selected
                                        <!--{/if}-->value="1">板块置顶</option>
                                    <option <!--if{$info[ 'type_top']==2 }-->selected
                                        <!--{/if}-->value="2">全局置顶</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">帖子精华</div>
                            <div class="field">
                                <select class="input" name="type_digest">
                                    <option <!--if{!$info[ 'type_digest']}-->selected
                                        <!--{/if}-->value="0">取消</option>
                                    <option <!--if{$info[ 'type_digest']==1 }-->selected
                                        <!--{/if}-->value="1">精华</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">锁帖</div>
                            <div class="field">
                                <select class="input" name="lock">
                                    <option <!--if{!$info[ 'lock']}-->selected
                                        <!--{/if}-->value="0">正常</option>
                                    <option <!--if{$info[ 'lock']==1 }-->selected
                                        <!--{/if}-->value="1">锁定</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">热帖</div>
                            <div class="field">
                                <select class="input" name="type_hot">
                                    <option <!--if{!$info[ 'type_hot']}-->selected
                                        <!--{/if}-->value="0">普通</option>
                                    <option <!--if{$info[ 'type_hot']==1 }-->selected
                                        <!--{/if}-->value="1">热帖</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">精华</div>
                            <div class="field">
                                <select class="input" name="type_digest">
                                    <option <!--if{!$info[ 'type_digest']}-->selected
                                        <!--{/if}-->value="0">普通</option>
                                    <option <!--if{$info[ 'type_digest']==1 }-->selected
                                        <!--{/if}-->value="1">精华</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">标题加粗</div>
                            <div class="field">
                                <select class="input" name="font_bold">
                                    <option <!--if{!$info[ 'font_bold']}-->selected
                                        <!--{/if}-->value="0">普通</option>
                                    <option <!--if{$info[ 'font_bold']==1 }-->selected
                                        <!--{/if}-->value="1">加粗</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">标题加粗</div>
                            <div class="field">
                                <select class="input" name="font_color">
                                    <option <!--if{!$info[ 'font_color']}-->selected
                                        <!--{/if}-->value="">普通</option>
                                    <option <!--if{$info[ 'font_color']=="dodgerblue" }-->selected
                                        <!--{/if}-->value="dodgerblue">蓝色</option>
                                    <option <!--if{$info[ 'font_color']=="red" }-->selected
                                        <!--{/if}-->value="red">红色</option>
                                    <option <!--if{$info[ 'font_color']=="orange" }-->selected
                                        <!--{/if}-->value="orange">橙色</option>
                                    <option <!--if{$info[ 'font_color']=="green" }-->selected
                                        <!--{/if}-->value="green">绿色</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="label">状态</div>
                            <div class="field">
                                <select class="input" name="status">
                                    <option <!--if{!$info[ 'status']}-->selected
                                        <!--{/if}-->value="0">下线</option>
                                    <option <!--if{$info[ 'status']==1 }-->selected
                                        <!--{/if}-->value="1">上线</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="panel-foot">
                        <div class="form-button">
                            <div id="tips"></div>
                            <input type="hidden" name="thread_id" type="hidden" value="{$info.thread_id}">
                            <button class="button bg-main" type="submit">保存</button>
                            <button class="button bg" type="reset">重置</button>
                        </div>
                    </div>
                </form>
            </div>
            <br>
        </div>
        <div class="xb3 xm4 text-small dux-sidebar">
            <?php $__Template->display('app/forum/view/common/sidebar'); ?>
        </div>
    </div>
</div>
<script>
    Do.ready('base', function () {
        $('#content').bbsEditor();
    });
</script>